package com.mrzhou.rabbit.service;

import lombok.SneakyThrows;

/**
 * @author qiang.zhou
 */
public interface IElasticsearchService {

    /**
     *  创建索引并设置索引的基础配置
     * @param clazz
     * @param <T>
     * @throws Exception
     */
    <T> void createIndex(Class<T> clazz);

}
